import java.io.Serializable;

public class User implements Serializable {
  int id;
  String username;
  String password;
  String name;
  String phone;
  String email;
  UserRole role;

  User(int id, String username, String password, String name, String phone, String email, UserRole role) {
      this.id = id;
      this.username = username;
      this.password = password;
      this.name = name;
      this.phone = phone;
      this.email = email;
      this.role = role;
  }
}